package com.tfjybj.itoo.teach.provider.service;

import com.dmsdbj.itoo.tool.base.service.BaseServicePlus;
import com.github.pagehelper.PageInfo;
import com.tfjybj.itoo.teach.entity.TeacherTeachClassEntity;
import com.tfjybj.itoo.teach.model.SelectTeacherTeachClassModel;
import com.tfjybj.itoo.teach.model.TeacherTeachClassModel;

import java.util.List;


/**
 * TeacherTeachClassService接口
 * teacherTeachClass表
 *
 * @author 田成荣
 * @version 2.0.0
 * @since 2.0.0 2018-11-08 19:34:10
 */
public interface TeacherTeachClassService extends BaseServicePlus<TeacherTeachClassEntity> {
	
	//region 模板生成：模糊查询
	/**
     * 根据上课班id模糊查询teacherTeachClass
     *
     * @param teachClassId  上课班id
     * @param pageNo   页码
     * @param pageSize 页数
     * @return 模糊查询的teacherTeachClass
     * @author 田成荣
     * @since 2.0.0 2018-11-08 19:34:10
     */
    PageInfo<TeacherTeachClassEntity> queryByLikeTeachClassId(String teachClassId, Integer pageNo, Integer pageSize);
	//endregion

    /* **********************************以下为非模板生成的内容********************************* */


    /**
     * 根据上课班id查询学生信息
     * @param teachClassId
     * @return 学生姓名list
     * @author 郝雨烁
     * @since 0.0.1 2019年3月6日16:34:48
     */
    List<TeacherTeachClassModel> queryStudents(String teachClassId);

    /**
     * 根据教师id查询上课班信息-郄子硕-2019-3-7 19:59:00
     * @param teacherId 教师Id
     * @return 上课班Model
     */
    List<TeacherTeachClassModel> queryTeachClass(String teacherId);

    /**
     * 根据teacherid查找TeacherTeachClass
     *
     * @param teacherId 教师id
     * @param templateId 模板id
     * @param courseId 班级id
     * @return 根据教师id查找的结果
     * @author 郭满亮
     * @since 2.0.0 2019-1-27 14:46:36
     */
    List<SelectTeacherTeachClassModel> getByTeacherId(String teacherId, String templateId, String courseId);
}
